@import "./minxin.scss";

.cardBox {
    width: 50%;
    padding: 5px;
    height: 350px;

    .card {
        // @include dark();
        // background: rgba(2, 0, 77, .4);
        // box-shadow: inset 0 0 34px rgb(17 40 255 / 66%);
        // border: 1px solid #0d53b7;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;

        .header_container {
            width: 100%;
            padding: 0 5px;
        }

        .cardHead {
            width: 100%;
            // height: 45px;
            display: flex;
            justify-content: space-between;
            padding: 5px;

            // border-bottom: 1px solid rgba(194, 194, 194, 0.8);

            .header_title {
                // color: #9ba2ab;
                padding: 5px;

                .text {
                    color: white;
                }

            }

            .header_switch {
                flex: 1;
                display: flex;
                justify-content: flex-end;


                .active {
                    color: white;
                    background-color: dodgerblue;
                }

                .switch_btn {
                    background-color: rgb(3 2 86 / 92%);
                    color: #ffffff;
                    cursor: pointer;
                    display: inline-block;
                    padding: 0px 10px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 12px;
                }

                .switch_btn:first-child {
                    border-radius: 50px 0 0 50px;
                }

                .switch_btn:last-child {
                    border-radius: 0 50px 50px 0;
                }


            }
        }

        // 选择图表类型按钮
        .smallBtn {
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 5px 10px;

            .smallBtn_item {
                .btn_item {
                    color: #8a8a8a;
                    margin-right: 5px;
                    cursor: pointer;
                    font-size: 12px;

                }

                .btn_item:hover {
                    color: dodgerblue;
                }

                .downBtn {
                    color: #8a8a8a;
                    margin-right: 10px;
                    cursor: pointer;
                    font-size: 12px;
                }

                .downBtn:hover {
                    color: dodgerblue;
                }

            }


        }

        .echartContainer {
            width: 100%;
            flex: 1;
            padding: 5px;

        }
    }
}